@import "../../scss/export";

.books-table-component {
  .ant-table {
    table {
      table-layout: fixed;
    }
    .col-method,
    .col-name,
    .col-author {
      text-align: center;
    }
    .col-cover {
      width: 64px;
    }
    .col-frequency {
      width: 82px;
    }
    .col-update_time {
      width: 120px;
    }
    .col-url {
      width: 100px;
      overflow: hidden;
      white-space: nowrap;
      word-break: keep-all;
      text-overflow: ellipsis;
    }
    .col-operation {
      width: 206px;

      .ant-btn {
        margin-right: 10px;

        &:last-child {
          margin-right: 0;
        }
      }

      @media screen {
        @media (max-width: 940px) {
          width: 134px;
          .btn-name {
            display: none;
          }
        }
      }
    }
  }
  .ant-table-thead > tr > th {
    text-align: center;
  }
  .ant-table-thead > tr > th,
  .ant-table-tbody > tr > td {
    word-break: break-word;
  }

  .update-link {
    cursor: pointer;
  }
}
